package com.cloud.logger.zchain.zchainserver.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 浙江卓锐科技股份有限公司
 *
 * @author zhengyt
 * @create 2017/12/5
 * @description
 */
@Data
@Document(collection="zchain_logger_ignore")
public class ZchainLoggerIgnore {

    @Id
    private String id;

    @JsonProperty("code")
    @JSONField(name = "code")
    @ApiModelProperty(name = "code", notes = "项目编码", example = "drore_gis")
    private String code;

    @JsonProperty("interface_name")
    @JSONField(name = "interface_name")
    @ApiModelProperty(name = "interface_name", notes = "接口名", example = "/api/save")
    private String interfaceName;

}